package com.easy.bean;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
@Data
@TableName("reserve")
public class Reserve {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField(value= "status")
    private Integer status;
    @TableField(value= "score")
    private Double score;
    @TableField(value= "comment")
    private String comment;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @TableField(value= "comment_time")
    private Date commentTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @TableField(value= "reserve_time")
    private Date reserveTime;
    @TableField(value= "course_id")
    private Integer courseId;
    @TableField(value= "member_id")
    private Integer memberId;
}
